Molongui\Contributors\Post C

Total Complexity 110
Dependencies 8
Dependents 11
Total lines 848
Lines of code 575
Logical lines of code 292
Comment lines 183
Methods 29
Properties 0

Methods 29

Method Rating Maintainability Complexity Lines of code
get_the_bylines()
C
30 24 119
get_contributors()
A
48 9 34
set_contributors()
A
46 8 41
get_the_byline()
A
44 6 50
has_contributors()
A
49 7 34
add_bylines_to_content()
S
58 6 16
add_contributors_metabox()
S
56 5 19
get_contributor_terms()
S
52 4 25
byline_extra_styles()
S
52 4 21
on_save_post()
S
58 4 17
is_post_type_enabled()
S
61 4 12
get_the_contributors()
S
52 3 23
add_contributors_metabox_script_params()
S
51 2 25
get_the_byline_preview()
S
54 2 22
get_the_contributor_name_markup()
S
56 2 17
autoadd_bylines_to_content()
S
66 3 7
custom_wp_kses_allowed_html()
S
53 1 26
hide_theme_byline()
S
67 2 8
enqueue_byline_styles()
S
73 2 4
register_byline_styles()
S
73 2 4
register_contributors_metabox_scripts()
S
63 2 10
__construct()
S
61 1 11
the_contributors()
S
79 1 3
get_the_contributor_role_markup()
S
62 1 10
get_byline_prefix()
S
73 1 4
enqueue_contributors_metabox_scripts()
S
74 1 4
the_byline()
S
78 1 3
contributor_selector()
S
80 1 3
render_contributors_metabox()
S
80 1 3